<template>
  <div class="demo-box">
    <button @click="reset">reset</button>
    <div class="form-item" style="width: 206px;">
      value: {{ value }}
      <a-checkbox v-model="value" />
    </div>
  </div>
</template>

<script lang="ts">
  import { defineComponent, ref } from 'vue';
  import ACheckbox from './index';
  export default defineComponent({
    name: 'CheckboxDemo',
    components: { ACheckbox },
    setup(props, context) {
      const value = ref(false);
      return {
        value
      }
    }
  });
</script>
